package cn.wolfcode.web.feign.fallback;

import cn.wolfcode.common.web.Result;
import cn.wolfcode.domain.PayVo;
import cn.wolfcode.domain.RefundVo;
import cn.wolfcode.web.feign.PayFeginApi;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@Component
public class PayFeginFallback implements PayFeginApi {
    @Override
    public Result<String> pay(@RequestBody PayVo vo) {
        return null;
    }

    @Override
    public Result<Boolean> rsaCheckVl(@RequestParam Map<String, String> params) {
        return null;
    }

    @Override
    public Result<Boolean> refund(@RequestBody RefundVo refundVo) {
        return null;
    }
}
